package com.jjiang.bbmall.order.feign;

import com.jjiang.bbmall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient(name = "bbmall-cart")
public interface CartFeignService {
    @GetMapping("/currentUserCartItems")
    @ResponseBody
    List<OrderItemVo> currentUserCartItems();
}
